package org.example.route.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "车次")
public class TrainDTO {
    @Schema(description = "车次id，修改时必传")
    private Long id;
    @Schema(description = "车次编号")
    private String serialNumber;
    @Schema(description = "车次类型")
    private Long kind;
    @Schema(description = "高等座位数")
    private Long seniorCount;//商务座或软卧
    @Schema(description = "中等座位数")
    private Long middleCount;//一等座或硬卧
    @Schema(description = "低等座位数")
    private Long lowCount;//二等座或硬座
}
